package com.kuwou.workobject.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.attoparser.dom.Text;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("singer_detail_info")
public class SingerDetailInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("singer_id")
    private Integer singerId;

    @TableField("birthplace")
    private String birthplace;

    @TableField("birthday")
    private String birthday;

    @TableField("constellation")
    private String constellation;

    @TableField("height")
    private String height;

    @TableField("weight")
    private String weight;

    @TableField("background")
    private String background;

    public SingerDetailInfo(Integer singerId, String birthplace,
                            String birthday, String constellation,
                            String height, String weight, String background) {
        this.singerId = singerId;
        this.birthplace = birthplace;
        this.birthday = birthday;
        this.constellation = constellation;
        this.height = height;
        this.weight = weight;
        this.background = background;
    }
}
